import React, { useState } from 'react';

export default function App() {
    const [uname,setunmae] = useState('张三');
    console.log(uname,setunmae)
    return (
        <div>
            <button onClick={()=>setunmae('wangwu')}>click</button>
            app-{uname}</div>
    )
}
